import Vue from "vue/dist/vue.common.js";
import App from '../App.vue'
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';
import VueRouter from 'vue-router'
import routes from '../router/router.js'
//vconsole 配置 如果不需要可删除
const VConsole = require('./vconsole.min.js');
const vConsole = new VConsole();
//------
Vue.use(MuseUI);
Vue.use(VueRouter);
//把window.HWH5 变为vue的全局对象
Vue.prototype.$we = window.HWH5;
const router = new VueRouter({
  routes: routes,
})
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})